//addloot(index, integer)
//player gains loot depending on index

switch argument0{
case 1: {//med kits
if global.hp + 5 >= global.hpmax{
global.hp = global.hpmax
}else{
global.hp+=5
}

}; break;
case 2: {//Coin pickups
global.coins++

}; break;
case 3: {//drills
global.drills++

}; break;
case 4: {//DMG+
global.dmg++

}; break;
case 5: {//Evade+
global.evade+=0.5

}; break;
case 6: {//ultimate charges
if global.charge<global.chargemax{
global.charge++
}
}; break;
//...better versions of the above
case 7: {//better dmg
global.dmg+=2
};break;
case 8: {//better med kits
if global.hp + 10 >= global.hpmax{
global.hp = global.hpmax
}else{
global.hp+=10
}
};break;
case 9: {//better Coin pickups
global.coins+=5

}; break;
case 10: {//better EVADE+
global.evade+=1

}; break;
case 11: {//better utlimate charges
if global.charge+2>=global.chargemax{
global.charge = global.chargemax
}else{
global.charge+=2
}
}; break;
}
